package com.yzt.user.service;

import org.springframework.transaction.annotation.Transactional;

import com.github.pagehelper.PageInfo;
import com.yzt.base.kit.Base;
import com.yzt.base.service.IBaseService;
import com.yzt.user.entity.Info;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Y
 * @since 2020-12-08
 */
public interface IInfoService extends IBaseService<Info> {

	Base<PageInfo<Info>> userList(int page, int limit);

	@Transactional(rollbackFor = Exception.class)
	Base<Object> addInfo(Info info);
}
